import Vue from "vue"

Vue.filter("rolename",(value)=>{
    if(!value) return value;
    switch(value){
        case "1":
        return "讲师"
        break;
        case "0":
        return "学生"
        break;
        default:
        return''
        break;

    }
})


